package rudia.org.core;

public enum CRUDDivCd {
	INSERT("I", "등록","create","CREATE")
	, PK("V", "양식","view","한건조회")
	, SELECT("R", "조회","list","복수건조회")
	, UPDATE("U", "수정","update","")
	, DELETE("D", "삭제","delete","")
	, ACTION("A", "액션","action","행위")
	, INSERTJSON("IJ", "등록(JSON)","create(JSON)","")
	, PKJSON("VJ", "양식(JSON)","view(JSON)","")
	, SELECTJSON("RJ", "조회(JSON)","list(JSON)","")
	, UPDATEJSON("UJ", "수정(JSON)","update(JSON)","")
	, DELETEJSON("DJ", "삭제(JSON)","delete(JSON)","")
	, ACTIONJSON("AJ", "액션(JSON)","action(JSON)","")
	, MENU_ABLE("M", "메뉴가능","MENU ABLE","메뉴 항목에 표시된다.")
	
	;

	private String code;//DB단 사용
	private String name;//한글명
	private String value;//view 단 사용
	private String desc;//설명

	CRUDDivCd(String code, String name, String value, String desc) {
		this.code = code;
		this.name = name;
		this.value = value;
		this.desc = desc;
	}

	public String getCode() {
		return this.code;

	}
	
	public String getName() {
		return this.name;
		
	}
	
	public String getValue() {
		return this.value;
		
	}

	public String getDesc() {
		return this.desc;

	}
}
